package zjitc.po;

import java.sql.DataTruncation;
import java.util.Date;
import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/12 16:54
 * @description:
 */
public class Book {
private Integer bsid;
private String bname;
private String auto;
private String image;
private String desc;
private String category;
private Double price;
private String publishingHouse;
private Date delivery_time;
private Integer is_Hot;
private List<Evaluate> evaluateList;

  public List<Evaluate> getEvaluateList() {
    return evaluateList;
  }

  public void setEvaluateList(List<Evaluate> evaluateList) {
    this.evaluateList = evaluateList;
  }

  public Integer getBsid() {
    return bsid;
  }

  public void setBsid(Integer bsid) {
    this.bsid = bsid;
  }

  public String getBname() {
    return bname;
  }

  public void setBname(String bname) {
    this.bname = bname;
  }

  public String getAuto() {
    return auto;
  }

  public void setAuto(String auto) {
    this.auto = auto;
  }

  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }

  public String getDesc() {
    return desc;
  }

  public void setDesc(String desc) {
    this.desc = desc;
  }

  public String getCategory() {
    return category;
  }

  public void setCategory(String category) {
    this.category = category;
  }

  public Double getPrice() {
    return price;
  }

  public void setPrice(Double price) {
    this.price = price;
  }



  public Date getDelivery_time() {
    return delivery_time;
  }

  public void setDelivery_time(Date delivery_time) {
    this.delivery_time = delivery_time;
  }

  public Integer getIs_Hot() {
    return is_Hot;
  }

  public void setIs_Hot(Integer is_Hot) {
    this.is_Hot = is_Hot;
  }


  @Override
  public String toString() {
    return "Book{" +
            "bsid=" + bsid +
            ", bname='" + bname + '\'' +
            ", auto='" + auto + '\'' +
            ", image='" + image + '\'' +
            ", desc='" + desc + '\'' +
            ", category='" + category + '\'' +
            ", price=" + price +
            ", publishingHouse='" + publishingHouse + '\'' +
            ", delivery_time=" + delivery_time +
            ", is_Hot=" + is_Hot +
            '}';
  }

  public String getPublishingHouse() {
    return publishingHouse;
  }

  public void setPublishingHouse(String publishingHouse) {
    this.publishingHouse = publishingHouse;
  }
}

